var xmlHttp;
var userid;
function create(){
	if(window.XMLHttpRequset){
		xmlHttp = new XMLHttpRequest();
	}else if(window.ActiveXObject){
		xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
	}
}

function frozenrun( ){
	create();
	var mytime = document.getElementById("checktime").value;
	
	alert( "time:" + mytime );
	//var URL = "/ajax/servlet/ajax?name="+value;
	url = "AdminFronzeServlet.do?time="+mytime;
	
	
	$.ajax({
		type:"post",
		url:url,
		dataType:"html",
		cache:false,
		success:function call(v){
				alert( v + " have been frozened");
				window.location.reload();
		},
		error:function errorcall(){
			alert("no!");
		}
	});
	
}

